package com.framework.common.Enums;

/**
 * 证件类型枚举
 * @author zhoubb
 * @version V1.0
 * @Date 2020/5/3 15:19
 * @since JDK 1.8
 */
public enum CardTypeEnum {

    ID_CARD("idCard", "身份证"),

    PASSPORT("passport", "护照"),

    OFFICIAL_CARD("officialCard", "军官证"),


    OTHERS("others", "其他"),
    ;
    private final String code;

    private final String msg;

    CardTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
